package com.xie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@TableName("dept")
@ApiModel(description = "部门")
public class Dept {
    @TableId(value = "dept_id",type = IdType.AUTO)
    @ApiModelProperty(value = "部门id")
    private Integer deptId;
    @TableField("dept_no")
    @ApiModelProperty(value = "部门代号")
    private String deptNo;
    @TableField("dept_name")
    @ApiModelProperty(value = "部门名称")
    private String deptName;
    @TableField("dept_manager")
    @ApiModelProperty(value = "部门主任代号")
    private String deptManager;
    @TableField("dept_viceManager")
    @ApiModelProperty(value = "部门副主任代号")
    private String deptViceManager;


    public Dept() {
    }



    public Dept(Integer deptId, String deptNo, String deptName, String deptManager, String deptViceManager) {
        this.deptId = deptId;
        this.deptNo = deptNo;
        this.deptName = deptName;
        this.deptManager = deptManager;
        this.deptViceManager = deptViceManager;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(String deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptManager() {
        return deptManager;
    }

    public void setDeptManager(String deptManager) {
        this.deptManager = deptManager;
    }

    public String getDeptViceManager() {
        return deptViceManager;
    }

    public void setDeptViceManager(String deptViceManager) {
        this.deptViceManager = deptViceManager;
    }



    @Override
    public String toString() {
        return "Dept{" +
                "deptId=" + deptId +
                ", deptNo='" + deptNo + '\'' +
                ", deptName='" + deptName + '\'' +
                ", deptManager='" + deptManager + '\'' +
                ", deptViceManager='" + deptViceManager + '\'' +
                '}';
    }
}
